{strip}{if $olistcount == 0}0{else}
        <table class="dTable">
            <thead>
                <tr>
                    <th>订单编号</th>
                    <th>下单人</th>
                    <th>订单总金额</th>
                    <th>支付金额</th>
                    <th>优惠金额</th>
                    <th>商品信息</th>
                    <th>下单时间</th>
                    <th>订单状态</th>
                </tr>
            </thead>
            <tbody>
                {section name=oi loop=$orderlist}
                    <tr id='order-exp-{$orderlist[oi].order_id}'>
                        <td>{$orderlist[oi].serial_number}</td>
                        <td>{$orderlist[oi]['uinfo'].client_name}  | {$orderlist[oi].exptime}</td>
                        <td class="prices font12">&yen;{$orderlist[oi].order_amount}</td>
                        <td class="prices font12">&yen;{$orderlist[oi].pay_amount}</td>
                        <td class="prices font12">&yen;{$orderlist[oi].order_amount-$orderlist[oi].pay_amount}
                        | {if $orderlist[oi].pay_type == '0'}
                             微信支付
                          {else if $orderlist[oi].pay_type == '1'}
                             余额支付
                          {else if $orderlist[oi].pay_type == '2'}
                            微信+余额支付
                          {else if $orderlist[oi].pay_type == '3'}
                            线下现金支付
                          {/if}
                        </td>
                        <td>
                            <a class="od-list-pdinfo fancybox.ajax" 
                               data-fancybox-type="ajax" 
                               href="{$docroot}?/WdminAjax/loadOrderDetail/id={$orderlist[oi].order_id}">点击查看 ({$orderlist[oi].product_count}件)</a>
                        </td>
         
                        <td style="display:none">
                            {$orderlist[oi].expressName}&nbsp;
                            <a class="pd-list-viewExp fancybox.ajax" id="od-exp-view{$orderlist[oi].order_id}"
                               data-fancybox-type="ajax" 
                               href="{$docroot}?/Wdmin/ajaxLoadOrderExpress/com={$orderlist[oi].express_com}&nu={$orderlist[oi].express_code}">查询</a>
                        </td>
                        <td>{$orderlist[oi].order_time}</td>
                        <td>{$orderlist[oi].statusX} | <a href="">更改状态</a></td>
                    </tr>
                {/section}
            </tbody>
        </table>
{/if}{/strip}